package com.hy.mydesktop.shared.rpc.util;


import com.hy.mydesktop.shared.rpc.meta.GxtToSeamServiceParameter;
import com.hy.mydesktop.shared.util.log.MyLoggerUtil;

public class RpcDebugUtil {
	
	public static final String className="com.hy.mydesktop.shared.rpc.util.RpcDebugUtil";
	
	public static void printGxtToSeamServiceParameterOfRpc(Class clazz,GxtToSeamServiceParameter gxtToSeamServiceParameter) {
		if (gxtToSeamServiceParameter==null) {
			
			MyLoggerUtil.printDebug(className, clazz.getName()+": gxtToSeamServiceParameter的组件名称，方法名称，参数均为空！");
			return;
		}
		MyLoggerUtil.printDebug(className, clazz.getName()+": gxtToSeamServiceParameter的组件名称"+gxtToSeamServiceParameter.getServiceComponentName());
		MyLoggerUtil.printDebug(className, clazz.getName()+": gxtToSeamServiceParameter的方法名称"+gxtToSeamServiceParameter.getServiceMethodName());
		if (gxtToSeamServiceParameter.getMethodArguments()!=null) {
			
			MyLoggerUtil.printDebug(className, clazz.getName()+": gxtToSeamServiceParameter的组件名称"+gxtToSeamServiceParameter.getMethodArguments().toString());
		} else {

			MyLoggerUtil.printDebug(className, clazz.getName()+": gxtToSeamServiceParameter的方法的参数为空");
		}
	}
	
	
	

}
